package cn.edu.ctbu.demo2.repository;

import cn.edu.ctbu.demo2.domain.Student;
import cn.edu.ctbu.demo2.domain.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface UserRepository extends JpaRepository<User,Integer> {

    List<User> findByUserAndPassword(String user, String password);
}
